package day020;

import java.io.FileWriter;
import java.io.IOException;

public class WriteDemo1 {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("D:\\day020\\output.txt");
        fw.write('a');
        fw.write('b');
        fw.write("\r\n");

        fw.write('张');
        fw.write('三');

        fw.write("\r\n");
        fw.write("李四");

        fw.close();
    }
}
